package com.mystore.framework.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mystore.common.cache.RedisCache;
import com.mystore.framework.pojo.AppModel;
import com.mystore.framework.pojo.FileModel;
import icu.mhb.mybatisplus.plugln.base.mapper.JoinBaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

@Mapper
@CacheNamespace(implementation = RedisCache.class)
public interface FileModelMapper extends JoinBaseMapper<FileModel> {
    @Override
    @Options(useGeneratedKeys = true, keyProperty = "file_model_id")
    int insert(FileModel entity);
}
